package minidb.parse.exps;

import minidb.querycondition.IOperand;

public class OperandNull extends Operand implements IOperand
{
	@Override
	public Boolean Equals(IOperand o)
	{
		return false;
	}

	@Override
	public Boolean NotEq(IOperand o)
	{
		return false;
	}

	@Override
	public Boolean LittleThan(IOperand o)
	{
		return false;
	}

	@Override
	public Boolean GreateEq(IOperand o)
	{
		return false;
	}

	@Override
	public Boolean GreateThan(IOperand o)
	{
		return false;
	}

	@Override
	public Boolean LittleEq(IOperand o)
	{
		return false;
	}

	@Override
	public Boolean IsNull()
	{
		return true;
	}

	@Override
	public Boolean IsNotNull()
	{
		return false;
	}

	@Override
	public Boolean LIKE(IOperand o)
	{
		return false;
	}

	@Override
	public Boolean NOTLIKE(IOperand o)
	{
		return false;
	}

	// =============================================================================
	@Override
	public String Print()
	{
		return "NULL";
	}

	@Override
	public String Print_Base()
	{
		return this.Print();
	}

	@Override
	public Operand DupOperand()
	{
		return new OperandNull();
	}

	@Override
	public Object ToValue()
	{
		return null;
	}

}
